#include<iostream>
#include<cstdio>
using namespace std;
int main(){
    int y,m,d;
    scanf("%4d%2d%2d",&y,&m,&d);
    printf("year=%d\nmonth=%02d\ndate=%02d",y,m,d);
    return 0;
}
